IsEmpty Property

Task Parallel System.Threading

Gets a value that indicates whether the ConcurrentBag<(Of <(T>)>) is empty.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property IsEmpty As Boolean
C#
public bool IsEmpty { get; }

Field Value

true if the ConcurrentBag<(Of <(T>)>) is empty; otherwise, false.

See Also